package com.lx.dao;

import com.lx.api.response.RelateItemInfo;
import com.lx.model.PrintTableInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrintTableInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintTableInfo record);

    int insertSelective(PrintTableInfo record);

    PrintTableInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintTableInfo record);

    int updateByPrimaryKey(PrintTableInfo record);

    List<RelateItemInfo> findShopTableForRelate(@Param("shopId") Long shopId, @Param("tableTypeName")String tableTypeName, @Param("tableName")String tableName, @Param("tableNo")String tableNo);
}